﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace RewrittingUrlDemo.UI
{
    public partial class Category : System.Web.UI.Page
    {
        public Int32 categoryID = -1;

        protected void Page_Load(object sender, EventArgs e)
        {
            categoryID = Int32.Parse(Request.QueryString["CategoryID"].ToString());
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            categoryID = Int32.Parse(Request.QueryString["CategoryID"].ToString());
            categoryID = Int32.Parse(Request.QueryString["CategoryID"].ToString());
            categoryID = Int32.Parse(Request.QueryString["CategoryID"].ToString());
            categoryID = Int32.Parse(Request.QueryString["CategoryID"].ToString());
        }
    }
}
